import { Button } from 'antd';
import { useState, useEffect } from 'react';
import { addOcrText } from '../../api/ocr_text'
const ArticleManage = () => {
    useEffect(() => {
    }, [])
   
    const addOcrTextFun = () => {
      addOcrText({content: '2222222222'}).then(res => {
        console.log(res, 444)
      }).catch(err => {
        console.log(err)
      })
    }
  return (
    <div className="ArticleManage">
        ArticleManage
        <Button onClick={addOcrTextFun}>添加文字</Button>
       
    </div>
  );
}

export default ArticleManage;
